unit NormalConstants;

interface

uses VectorTypes;

Const

RA2Normals : array [0..240] of TVector3f =
(
( X: +0.526578; Y: -0.359621; Z: -0.770317; ),
( X: +0.150482; Y: +0.435984; Z: +0.887284; ),
( X: +0.414195; Y: +0.738255; Z: -0.532374; ),
( X: +0.075152; Y: +0.916249; Z: -0.393498; ),
( X: -0.316149; Y: +0.930736; Z: -0.183793; ),
( X: -0.773819; Y: +0.623334; Z: -0.112510; ),
( X: -0.900842; Y: +0.428537; Z: -0.069568; ),
( X: -0.998942; Y: -0.010971; Z: +0.044665; ),
( X: -0.979761; Y: -0.157670; Z: -0.123324; ),
( X: -0.911274; Y: -0.362371; Z: -0.195620; ),
( X: -0.624069; Y: -0.720941; Z: -0.301301; ),
( X: -0.310173; Y: -0.809345; Z: -0.498752; ),
( X: +0.146613; Y: -0.815819; Z: -0.559414; ),
( X: -0.716516; Y: -0.694356; Z: -0.066888; ),
( X: +0.503972; Y: -0.114202; Z: -0.856137; ),
( X: +0.455491; Y: +0.872627; Z: -0.176211; ),
( X: -0.005010; Y: -0.114373; Z: -0.993425; ),
( X: -0.104675; Y: -0.327701; Z: -0.938965; ),
( X: +0.560412; Y: +0.752589; Z: -0.345756; ),
( X: -0.060576; Y: +0.821628; Z: -0.566796; ),
( X: -0.302341; Y: +0.797007; Z: -0.522847; ),
( X: -0.671543; Y: +0.670740; Z: -0.314863; ),
( X: -0.778401; Y: -0.128357; Z: +0.614505; ),
( X: -0.924050; Y: +0.278382; Z: -0.261985; ),
( X: -0.699773; Y: -0.550491; Z: -0.455278; ),
( X: -0.568248; Y: -0.517189; Z: -0.640008; ),
( X: +0.054098; Y: -0.932864; Z: -0.356143; ),
( X: +0.758382; Y: +0.572893; Z: -0.310888; ),
( X: +0.003620; Y: +0.305026; Z: -0.952337; ),
( X: -0.060850; Y: -0.986886; Z: -0.149511; ),
( X: +0.635230; Y: +0.045478; Z: -0.770983; ),
( X: +0.521705; Y: +0.241309; Z: -0.818287; ),
( X: +0.269404; Y: +0.635425; Z: -0.723641; ),
( X: +0.045676; Y: +0.672754; Z: -0.738455; ),
( X: -0.180511; Y: +0.674657; Z: -0.715719; ),
( X: -0.397131; Y: +0.636640; Z: -0.661042; ),
( X: -0.552004; Y: +0.472515; Z: -0.687038; ),
( X: -0.772170; Y: +0.083090; Z: -0.629960; ),
( X: -0.669819; Y: -0.119533; Z: -0.732840; ),
( X: -0.540455; Y: -0.318444; Z: -0.778782; ),
( X: -0.386135; Y: -0.522789; Z: -0.759994; ),
( X: -0.261466; Y: -0.688567; Z: -0.676395; ),
( X: -0.019412; Y: -0.696103; Z: -0.717680; ),
( X: +0.303569; Y: -0.481844; Z: -0.821993; ),
( X: +0.681939; Y: -0.195129; Z: -0.704900; ),
( X: -0.244889; Y: -0.116562; Z: -0.962519; ),
( X: +0.800759; Y: -0.022979; Z: -0.598546; ),
( X: -0.370275; Y: +0.095584; Z: -0.923991; ),
( X: -0.330671; Y: -0.326578; Z: -0.885440; ),
( X: -0.163220; Y: -0.527579; Z: -0.833679; ),
( X: +0.126390; Y: -0.313146; Z: -0.941257; ),
( X: +0.349548; Y: -0.272226; Z: -0.896498; ),
( X: +0.239918; Y: -0.085825; Z: -0.966992; ),
( X: +0.390845; Y: +0.081537; Z: -0.916838; ),
( X: +0.255267; Y: +0.268697; Z: -0.928785; ),
( X: +0.146245; Y: +0.480438; Z: -0.864749; ),
( X: -0.326016; Y: +0.478456; Z: -0.815349; ),
( X: -0.469682; Y: -0.112519; Z: -0.875636; ),
( X: +0.818440; Y: -0.258520; Z: -0.513151; ),
( X: -0.474318; Y: +0.292238; Z: -0.830433; ),
( X: +0.778943; Y: +0.395842; Z: -0.486371; ),
( X: +0.624094; Y: +0.393773; Z: -0.674870; ),
( X: +0.740886; Y: +0.203834; Z: -0.639953; ),
( X: +0.480217; Y: +0.565768; Z: -0.670297; ),
( X: +0.380930; Y: +0.424535; Z: -0.821378; ),
( X: -0.093422; Y: +0.501124; Z: -0.860318; ),
( X: -0.236485; Y: +0.296198; Z: -0.925387; ),
( X: -0.131531; Y: +0.093959; Z: -0.986849; ),
( X: -0.823562; Y: +0.295777; Z: -0.484006; ),
( X: +0.611066; Y: -0.624304; Z: -0.486664; ),
( X: +0.069496; Y: -0.520330; Z: -0.851133; ),
( X: +0.226522; Y: -0.664879; Z: -0.711775; ),
( X: +0.471308; Y: -0.568904; Z: -0.673957; ),
( X: +0.388425; Y: -0.742624; Z: -0.545560; ),
( X: +0.783675; Y: -0.480729; Z: -0.393385; ),
( X: +0.962394; Y: +0.135676; Z: -0.235349; ),
( X: +0.876607; Y: +0.172034; Z: -0.449406; ),
( X: +0.633405; Y: +0.589793; Z: -0.500941; ),
( X: +0.182276; Y: +0.800658; Z: -0.570721; ),
( X: +0.177003; Y: +0.764134; Z: +0.620297; ),
( X: -0.544016; Y: +0.675515; Z: -0.497721; ),
( X: -0.679297; Y: +0.286467; Z: -0.675642; ),
( X: -0.590391; Y: +0.091369; Z: -0.801929; ),
( X: -0.824360; Y: -0.133124; Z: -0.550189; ),
( X: -0.715794; Y: -0.334542; Z: -0.612961; ),
( X: +0.174286; Y: -0.892484; Z: +0.416049; ),
( X: -0.082528; Y: -0.837123; Z: -0.540753; ),
( X: +0.283331; Y: -0.880874; Z: -0.379189; ),
( X: +0.675134; Y: -0.426627; Z: -0.601817; ),
( X: +0.843720; Y: -0.512335; Z: -0.160156; ),
( X: +0.977304; Y: -0.098556; Z: -0.187520; ),
( X: +0.846295; Y: +0.522672; Z: -0.102947; ),
( X: +0.677141; Y: +0.721325; Z: -0.145501; ),
( X: +0.320965; Y: +0.870892; Z: -0.372194; ),
( X: -0.178978; Y: +0.911533; Z: -0.370236; ),
( X: -0.447169; Y: +0.826701; Z: -0.341474; ),
( X: -0.703203; Y: +0.496328; Z: -0.509081; ),
( X: -0.977181; Y: +0.063563; Z: -0.202674; ),
( X: -0.878170; Y: -0.412938; Z: +0.241455; ),
( X: -0.835831; Y: -0.358550; Z: -0.415728; ),
( X: -0.499174; Y: -0.693433; Z: -0.519592; ),
( X: -0.188789; Y: -0.923753; Z: -0.333225; ),
( X: +0.192254; Y: -0.969361; Z: -0.152896; ),
( X: +0.515940; Y: -0.783907; Z: -0.345392; ),
( X: +0.905925; Y: -0.300952; Z: -0.297871; ),
( X: +0.991112; Y: -0.127746; Z: +0.037107; ),
( X: +0.995135; Y: +0.098424; Z: -0.004383; ),
( X: +0.760123; Y: +0.646277; Z: +0.067367; ),
( X: +0.205221; Y: +0.959580; Z: -0.192591; ),
( X: -0.042750; Y: +0.979513; Z: -0.196791; ),
( X: -0.438017; Y: +0.898927; Z: +0.008492; ),
( X: -0.821994; Y: +0.480785; Z: -0.305239; ),
( X: -0.899917; Y: +0.081710; Z: -0.428337; ),
( X: -0.926612; Y: -0.144618; Z: -0.347096; ),
( X: -0.793660; Y: -0.557792; Z: -0.242839; ),
( X: -0.431350; Y: -0.847779; Z: -0.308558; ),
( X: -0.005492; Y: -0.965000; Z: +0.262193; ),
( X: +0.587905; Y: -0.804026; Z: -0.088940; ),
( X: +0.699493; Y: -0.667686; Z: -0.254765; ),
( X: +0.889303; Y: +0.359795; Z: -0.282291; ),
( X: +0.780972; Y: +0.197037; Z: +0.592672; ),
( X: +0.520121; Y: +0.506696; Z: +0.687557; ),
( X: +0.403895; Y: +0.693961; Z: +0.596060; ),
( X: -0.154983; Y: +0.899236; Z: +0.409090; ),
( X: -0.657338; Y: +0.537168; Z: +0.528543; ),
( X: -0.746195; Y: +0.334091; Z: +0.575827; ),
( X: -0.624952; Y: -0.049144; Z: +0.779115; ),
( X: +0.318141; Y: -0.254715; Z: +0.913185; ),
( X: -0.555897; Y: +0.405294; Z: +0.725752; ),
( X: -0.794434; Y: +0.099406; Z: +0.599160; ),
( X: -0.640361; Y: -0.689463; Z: +0.338495; ),
( X: -0.126713; Y: -0.734095; Z: +0.667120; ),
( X: +0.105457; Y: -0.780817; Z: +0.615795; ),
( X: +0.407993; Y: -0.480916; Z: +0.776055; ),
( X: +0.695136; Y: -0.545120; Z: +0.468647; ),
( X: +0.973191; Y: -0.006489; Z: +0.229908; ),
( X: +0.946894; Y: +0.317509; Z: -0.050799; ),
( X: +0.563583; Y: +0.825612; Z: +0.027183; ),
( X: +0.325773; Y: +0.945423; Z: +0.006949; ),
( X: -0.171821; Y: +0.985097; Z: -0.007815; ),
( X: -0.670441; Y: +0.739939; Z: +0.054769; ),
( X: -0.822981; Y: +0.554962; Z: +0.121322; ),
( X: -0.966193; Y: +0.117857; Z: +0.229307; ),
( X: -0.953769; Y: -0.294704; Z: +0.058945; ),
( X: -0.864387; Y: -0.502728; Z: -0.010015; ),
( X: -0.530609; Y: -0.842006; Z: -0.097366; ),
( X: -0.162618; Y: -0.984075; Z: +0.071772; ),
( X: +0.081447; Y: -0.996011; Z: +0.036439; ),
( X: +0.745984; Y: -0.665963; Z: +0.000762; ),
( X: +0.942057; Y: -0.329269; Z: -0.064106; ),
( X: +0.939702; Y: -0.281090; Z: +0.194803; ),
( X: +0.771214; Y: +0.550670; Z: +0.319363; ),
( X: +0.641348; Y: +0.730690; Z: +0.234021; ),
( X: +0.080682; Y: +0.996691; Z: +0.009879; ),
( X: -0.046725; Y: +0.976643; Z: +0.209725; ),
( X: -0.531076; Y: +0.821001; Z: +0.209562; ),
( X: -0.695815; Y: +0.655990; Z: +0.292435; ),
( X: -0.976122; Y: +0.216709; Z: -0.014913; ),
( X: -0.961661; Y: -0.144129; Z: +0.233314; ),
( X: -0.772084; Y: -0.613647; Z: +0.165299; ),
( X: -0.449600; Y: -0.836060; Z: +0.314426; ),
( X: -0.392700; Y: -0.914616; Z: +0.096247; ),
( X: +0.390589; Y: -0.919470; Z: +0.044890; ),
( X: +0.582529; Y: -0.799198; Z: +0.148127; ),
( X: +0.866431; Y: -0.489812; Z: +0.096864; ),
( X: +0.904587; Y: +0.111498; Z: +0.411450; ),
( X: +0.953537; Y: +0.232330; Z: +0.191806; ),
( X: +0.497311; Y: +0.770803; Z: +0.398177; ),
( X: +0.194066; Y: +0.956320; Z: +0.218611; ),
( X: +0.422876; Y: +0.882276; Z: +0.206797; ),
( X: -0.373797; Y: +0.849566; Z: +0.372174; ),
( X: -0.534497; Y: +0.714023; Z: +0.452200; ),
( X: -0.881827; Y: +0.237160; Z: +0.407598; ),
( X: -0.904948; Y: -0.014069; Z: +0.425289; ),
( X: -0.751827; Y: -0.512817; Z: +0.414458; ),
( X: -0.501015; Y: -0.697917; Z: +0.511758; ),
( X: -0.235190; Y: -0.925923; Z: +0.295555; ),
( X: +0.228983; Y: -0.953940; Z: +0.193819; ),
( X: +0.734025; Y: -0.634898; Z: +0.241062; ),
( X: +0.913753; Y: -0.063253; Z: -0.401316; ),
( X: +0.905735; Y: -0.161487; Z: +0.391875; ),
( X: +0.858930; Y: +0.342446; Z: +0.380749; ),
( X: +0.624486; Y: +0.607581; Z: +0.490777; ),
( X: +0.289264; Y: +0.857479; Z: +0.425508; ),
( X: +0.069968; Y: +0.902169; Z: +0.425671; ),
( X: -0.286180; Y: +0.940700; Z: +0.182165; ),
( X: -0.574013; Y: +0.805119; Z: -0.149309; ),
( X: +0.111258; Y: +0.099718; Z: -0.988776; ),
( X: -0.305393; Y: -0.944228; Z: -0.123160; ),
( X: -0.601166; Y: -0.789576; Z: +0.123163; ),
( X: -0.290645; Y: -0.812140; Z: +0.505919; ),
( X: -0.064920; Y: -0.877163; Z: +0.475785; ),
( X: +0.408301; Y: -0.862216; Z: +0.299789; ),
( X: +0.566097; Y: -0.725566; Z: +0.391264; ),
( X: +0.839364; Y: -0.427387; Z: +0.335869; ),
( X: +0.818900; Y: -0.041305; Z: +0.572448; ),
( X: +0.719784; Y: +0.414997; Z: +0.556497; ),
( X: +0.881744; Y: +0.450270; Z: +0.140659; ),
( X: +0.401823; Y: -0.898220; Z: -0.178152; ),
( X: -0.054020; Y: +0.791344; Z: +0.608980; ),
( X: -0.293774; Y: +0.763994; Z: +0.574465; ),
( X: -0.450798; Y: +0.610347; Z: +0.651351; ),
( X: -0.638221; Y: +0.186694; Z: +0.746873; ),
( X: -0.872870; Y: -0.257127; Z: +0.414708; ),
( X: -0.587257; Y: -0.521710; Z: +0.618828; ),
( X: -0.353658; Y: -0.641974; Z: +0.680291; ),
( X: +0.041649; Y: -0.611273; Z: +0.790323; ),
( X: +0.348342; Y: -0.779183; Z: +0.521087; ),
( X: +0.499167; Y: -0.622441; Z: +0.602826; ),
( X: +0.790019; Y: -0.303831; Z: +0.532500; ),
( X: +0.660118; Y: +0.060733; Z: +0.748702; ),
( X: +0.604921; Y: +0.294161; Z: +0.739960; ),
( X: +0.385697; Y: +0.379346; Z: +0.841032; ),
( X: +0.239693; Y: +0.207876; Z: +0.948332; ),
( X: +0.012623; Y: +0.258532; Z: +0.965920; ),
( X: -0.100557; Y: +0.457147; Z: +0.883688; ),
( X: +0.046967; Y: +0.628588; Z: +0.776319; ),
( X: -0.430391; Y: -0.445405; Z: +0.785097; ),
( X: -0.434291; Y: -0.196228; Z: +0.879139; ),
( X: -0.256637; Y: -0.336867; Z: +0.905902; ),
( X: -0.131372; Y: -0.158910; Z: +0.978514; ),
( X: +0.102379; Y: -0.208767; Z: +0.972592; ),
( X: +0.195687; Y: -0.450129; Z: +0.871258; ),
( X: +0.627319; Y: -0.423148; Z: +0.653771; ),
( X: +0.687439; Y: -0.171583; Z: +0.705682; ),
( X: +0.275920; Y: -0.021255; Z: +0.960946; ),
( X: +0.459367; Y: +0.157466; Z: +0.874178; ),
( X: +0.285395; Y: +0.583184; Z: +0.760556; ),
( X: -0.812174; Y: +0.460303; Z: +0.358461; ),
( X: -0.189068; Y: +0.641223; Z: +0.743698; ),
( X: -0.338875; Y: +0.476480; Z: +0.811252; ),
( X: -0.920994; Y: +0.347186; Z: +0.176727; ),
( X: +0.040639; Y: +0.024465; Z: +0.998874; ),
( X: -0.739132; Y: -0.353747; Z: +0.573190; ),
( X: -0.603512; Y: -0.286615; Z: +0.744060; ),
( X: -0.188676; Y: -0.547059; Z: +0.815554; ),
( X: -0.026045; Y: -0.397820; Z: +0.917094; ),
( X: +0.267897; Y: -0.649041; Z: +0.712023; ),
( X: +0.518246; Y: -0.284891; Z: +0.806386; ),
( X: +0.493451; Y: -0.066533; Z: +0.867225; ),
( X: -0.328188; Y: +0.140251; Z: +0.934143; )
);

TSNormals : array [0..35] of TVector3f =
(
( X: +0.671214; Y: +0.198492; Z: -0.714194; ),
( X: +0.269643; Y: +0.584394; Z: -0.765360; ),
( X: -0.040546; Y: +0.096988; Z: -0.994459; ),
( X: -0.572428; Y: -0.091914; Z: -0.814787; ),
( X: -0.171401; Y: -0.572710; Z: -0.801639; ),
( X: +0.362557; Y: -0.302999; Z: -0.881331; ),
( X: +0.810347; Y: -0.348972; Z: -0.470698; ),
( X: +0.103962; Y: +0.938672; Z: -0.328767; ),
( X: -0.324047; Y: +0.587669; Z: -0.741376; ),
( X: -0.800865; Y: +0.340461; Z: -0.492647; ),
( X: -0.665498; Y: -0.590147; Z: -0.456989; ),
( X: +0.314767; Y: -0.803002; Z: -0.506073; ),
( X: +0.972629; Y: +0.151076; Z: -0.176550; ),
( X: +0.680291; Y: +0.684236; Z: -0.262727; ),
( X: -0.520079; Y: +0.827777; Z: -0.210483; ),
( X: -0.961644; Y: -0.179001; Z: -0.207847; ),
( X: -0.262714; Y: -0.937451; Z: -0.228401; ),
( X: +0.219707; Y: -0.971301; Z: +0.091125; ),
( X: +0.923808; Y: -0.229975; Z: +0.306087; ),
( X: -0.082489; Y: +0.970660; Z: +0.225866; ),
( X: -0.591798; Y: +0.696790; Z: +0.405289; ),
( X: -0.925296; Y: +0.366601; Z: +0.097111; ),
( X: -0.705051; Y: -0.687775; Z: +0.172828; ),
( X: +0.732400; Y: -0.680367; Z: -0.026305; ),
( X: +0.855162; Y: +0.374582; Z: +0.358311; ),
( X: +0.473006; Y: +0.836480; Z: +0.276705; ),
( X: -0.097617; Y: +0.654112; Z: +0.750072; ),
( X: -0.904124; Y: -0.153725; Z: +0.398658; ),
( X: -0.211916; Y: -0.858090; Z: +0.467732; ),
( X: +0.500227; Y: -0.674408; Z: +0.543091; ),
( X: +0.584539; Y: -0.110249; Z: +0.803841; ),
( X: +0.437373; Y: +0.454644; Z: +0.775889; ),
( X: -0.042441; Y: +0.083318; Z: +0.995619; ),
( X: -0.596251; Y: +0.220132; Z: +0.772028; ),
( X: -0.506455; Y: -0.396977; Z: +0.765449; ),
( X: +0.070569; Y: -0.478474; Z: +0.875262; )
);

CubeNormals : array [0..25] of TVector3f =(
(
X : -1;
Y : 0;
Z : 0;
),
(
X : -1;
Y : 0;
Z : 1;
),
(
X : -1;
Y : 0;
Z : -1;
),
(
X : -1;
Y : 1;
Z : 0;
),
(
X : -1;
Y : -1;
Z : 0;
),
(
X : -1;
Y : 1;
Z : -1;
),
(
X : -1;
Y : 1;
Z : 1;
),
(
X : -1;
Y : -1;
Z : -1;
),
(
X : -1;
Y : -1;
Z : 1;
),
(
X : 0;
Y : -1;
Z : 0;
),
(
X : 0;
Y : -1;
Z : 1;
),
(
X : 0;
Y : 0;
Z : 1;
),
(
X : 0;
Y : 1;
Z : 1;
),
(
X : 0;
Y : 1;
Z : 0;
),
(
X : 0;
Y : 1;
Z : -1;
),
(
X : 0;
Y : 0;
Z : -1;
),
(
X : 0;
Y : -1;
Z : -1;
),
(
X : 1;
Y : 0;
Z : 0;
),
(
X : 1;
Y : 0;
Z : 1;
),
(
X : 1;
Y : 0;
Z : -1;
),
(
X : 1;
Y : 1;
Z : 0;
),
(
X : 1;
Y : -1;
Z : 0;
),
(
X : 1;
Y : 1;
Z : -1;
),
(
X : 1;
Y : 1;
Z : 1;
),
(
X : 1;
Y : -1;
Z : -1;
),
(
X : 1;
Y : -1;
Z : 1;
)
);

implementation

end.
